// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
// import { img_url, severurl } from './config'

import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
Vue.use(ElementUI)


Vue.config.productionTip = false

/*引入axios*/
import Axios from 'axios'
Vue.prototype.axios = Axios;

// 引入echarts
import echarts from 'echarts'
Vue.prototype.$echarts = echarts

//Axios.defaults.withCredentials = true;

import QS from 'qs'
Vue.prototype.qs = QS;

import ant from 'ant-design-vue'
import 'ant-design-vue/dist/antd.css'

Vue.use(ant)



// import VueSocketio from 'vue-socket.io'
// Vue.use(VueSocketio,'http://127.0.0.1:5000');

new Vue({
  el: '#app',
  router,
  components: { App },
  template: '<App/>',
  render: h => h(App)
})
